<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<title>山西省第二十届眼科学术会议</title>
	</head>
	<body style="background: #000000;">
		<div style="background:#26a2ff;font-size: 14px;height:40px;top: 0;
		right: 0;left: 0;position: fixed;z-index: 999;text-align: center;line-height: 40px;">
			<a href="./index.html" style="position: absolute;top:0;left: 10px;color: #fff;text-decoration: none;">< 返回</a>
			<span style="color: #fff;">视频资料</span>
		</div>
		<video width="100%" style="margin-top:calc(50vh - 215px);" autoplay="autoplay" controls="controls">
			<source id="mp4" src="" type="video/mp4"></source>
			<source id="webm" src="" type="video/webm"></source>
			<source id="ogg" src="" type="video/ogg"></source>
		</video>
		<script type="text/javascript">
			var hash = location.hash
			if(hash.lastIndexOf("webm")!=-1){
				document.querySelector('#webm').src = hash.slice(1)
				document.querySelector('#mp4').src = hash.slice(1,hash.indexOf('.webm'))+'.mp4'
			}else if(hash.lastIndexOf("mp4")!=-1){
				document.querySelector('#mp4').src = hash.slice(1)
			}else{
				document.querySelector('#ogg').src = hash.slice(1)
			}
		</script>
	</body>
</html>
